home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: n4jvp@ix.netcom.com (n4jvp)
- Newsgroups: comp.lang.c
- Subject: Re: Checking to See if a File Exists
- Date: Sat, 27 Jan 1996 04:33:10 GMT
- Organization: Netcom
- Message-ID: <3109a461.960289@ixnews1.ix.netcom.com>
- References: <DLtI7G.HpE@midway.uchicago.edu>
- NNTP-Posting-Host: ix-nas-nh1-17.ix.netcom.com
- X-NETCOM-Date: Fri Jan 26 8:35:29 PM PST 1996
- X-Newsreader: Forte Agent .99f/32.101
-
- On Sat, 27 Jan 1996 02:14:04 GMT, jaj3@kimbark.uchicago.edu (josef
- jurek) wrote:
-
- >
- >How does one check from a C program to see whether a file
- >exists or not?
- >
- >Thank you,
- >
- > --
- >
- >josef jurek
- >jaj3@kimbark.uchicago.edu
- >
-
- Hi Josef
- One version of the code required to check for the existence of
- a file using C can be found in a file called Snippets. The actual name
- of the file is snipXXXX.zip where the Xs represent the year and month
- that the file was last updated. Snippets consists of various snippets
- of C code that are within the public domain.
- The latest update that I have seen is snip9510.zip and that
- file can be found at numerous ftp sites. Go to the URL
- http://ftpsearch.unit.no/ftpsearch
- and run a search for snip9510.zip and you will receive a good sized
- listing of ftp sites where the file can be found. You might want to
- bookmark that URL as it is a very handy search engine.
-
-
-